<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
	var base = "${base}/";
</script>
<!--框架必需-->
<script type="text/javascript" src="${base}/scripts/plugins/jquery-1.7.1.js"></script>
<script type="text/javascript" src="${base}/scripts/framework.js"></script>
<link href="${base}/css/import_basic.css" rel="stylesheet" type="text/css" />
<link href="${base}/css/sky/style.css" rel="stylesheet" type="text/css" />
<!--表单验证脚本-->
<script type="text/javascript" src="${base}/scripts/plugins/jquery.validate.min.js"></script>
<script type="text/javascript" src="${base}/js/verify-franchiser-add.js"></script>
</head>
<body>
	<div class="position">
		<div class="center">
			<div class="left">
				<div class="right">
					<span>当前位置：资金管理 >> 修改经销商资金账号</span>
				</div>
			</div>
		</div>
	</div>
	<div class="box1" whiteBg="true">
		<form action="${base}/admin/franchiser/update.action" id="add_franchiser_form" target="frmright">
			<table class="tableStyle" transMode="true">
				<input type="hidden" name="franchiserFund.id" value="${(franchiserFund.id)!''}" id="franchiserFund_id"/>
				<tr>
					<td>账户类别：</td>
					<td>
						<select name="accountType" id="accountType" class="selectbox" editable="true">
							<option value=""></option>
							<option value="工商银行">工商银行</option>
							<option value="建设银行">建设银行</option>
							<option value="农业银行">农业银行</option>
							<option value="招商银行">招商银行</option>
						</select>
						<input type="hidden" value="${(franchiserFund.accountType)!''}" name="franchiserFund.accountType" id="franchiserFund_accountType"/>
						<span class="star">*</span>
						<span class="verror"></span>
					</td>
				</tr>
				<tr>
					<td>账户号码：</td>
					<td>
						<input type="text" value="${(franchiserFund.accountNo)!''}" name="franchiserFund.accountNo" class="text_style" style="width: 150px;" id="franchiserFund.accountNo"/>
						<span class="star">*</span>
						<span class="verror"></span>
					</td>
				</tr>
				<tr>
					<td>账户所属：</td>
					<td>
						<input type="text" value="${(franchiserFund.owner)!''}" name="franchiserFund.owner" class="text_style" id="franchiserFund.owner"/>
						<span class="star">*</span>
						<span class="verror"></span>
					</td>
				</tr>
				<tr>
					<td>账户资金：</td>
					<td>
						<input type="text" value="${(franchiserFund.accountBalance)!''}" name="franchiserFund.accountBalance" class="text_style" id="franchiserFund.accountBalance"/>
					</td>
				</tr>
				<tr>
					<td>账户状态：</td>
					<td>
						<select name="franchiserFund.accountStatus" class="selectbox">
							<option value="1">使用中</option>
							<option value="0">不可用</option>
						</select>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<input type="submit" class="button" value="提 交 " />
						<input type="button" class="button" onclick="top.Dialog.close()" value="取消" />
					</td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>
<script>
$(function() {
	$("#2_input").val("${(franchiserFund.accountType)!''}");
	$("#2_input").blur(function() {
		$("#franchiserFund_accountType").val($("#accountType").attr("editValue"));
	});
	$("#2_container").children("ul").click(function() {
		$("#franchiserFund_accountType").val($("#accountType").attr("editValue"));
	});
});
</script>